GetBytes(String,Int64,Byte[],Int32,Int32) Method
Reads a stream of bytes from the specified column offset into the buffer as an array starting at the given buffer offset.
Parameters
- name
- The name of the column.
- fieldOffset
- The index within the field where the read operation is to begin.
- buffer
- The buffer into which to read the stream of bytes.
- bufferOffset
- The index where buffer is to begin the write operation.
- length
- The maximum length to copy into the buffer.
Return Value
The actual number of bytes read.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2